package com.ibeeking.gateway.cp.controller;

import com.ibeeking.nematos.utils.result.ResponseCodeEnum;
import com.ibeeking.nematos.utils.result.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author
 * @title:
 * @projectName
 * @description: TODO
 * @date 2019/10/25  10:24
 */
@RestController
public class FallbackController {

    @RequestMapping("/fallback")
    public ResponseResult<String> fallback() {
        return ResponseResult.fail(ResponseCodeEnum.SYSTEM_ERROR.getCode(), ResponseCodeEnum.SYSTEM_ERROR.getMsg());
    }
}
